package com.situ.mall.service;

import java.util.List;

import com.situ.mall.common.ServerResponse;
import com.situ.mall.entity.Order;

public interface IOrderService {

	ServerResponse addOrder(Order order);

	List<Order> selectOrder(Integer id);

	/**
	 * 后台订单
	 * @param page
	 * @param limit
	 * @param order
	 * @return
	 */
	ServerResponse pageList(Integer page, Integer limit, Order order);

	ServerResponse deleteById(Integer id);

	//批量删除订单
	ServerResponse deleteAll(String ids);
}
